﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="CreatureStep.cs" company="melcoprog">
//   Copyright (c) melcoprog. All rights reserved.
// </copyright>
// <summary>
//   Defines the CreatureStep type.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Creature
{
    using System;
    using System.Drawing;
    using System.Drawing.Drawing2D;

    /// <summary>
    /// The creature step.
    /// </summary>
    public class CreatureStep
    {
        /// <summary>
        /// The new image.
        /// </summary>
        private readonly Bitmap newImage;

        /// <summary>
        /// The new mask.
        /// </summary>
        private readonly GraphicsPath newMask;

        /// <summary>
        /// The new x.
        /// </summary>
        private readonly double newX;

        /// <summary>
        /// The new y.
        /// </summary>
        private readonly double newY;

        /// <summary>
        /// Initializes a new instance of the <see cref="CreatureStep"/> class.
        /// </summary>
        /// <param name="newImage">
        /// The new image.
        /// </param>
        /// <param name="newX">
        /// The new x.
        /// </param>
        /// <param name="newY">
        /// The new y.
        /// </param>
        /// <param name="newMask">
        /// The new Mask.
        /// </param>
        public CreatureStep(Bitmap newImage, double newX, double newY, GraphicsPath newMask)
        {
            this.newImage = newImage;
            this.newX = newX;
            this.newY = newY;
            this.newMask = newMask;
        }

        /// <summary>
        /// Gets the new image.
        /// </summary>
        public object NewImage
        {
            get
            {
                return this.newImage;
            }
        }

        /// <summary>
        /// Gets the new mask.
        /// </summary>
        public object NewMask
        {
            get
            {
                return this.newMask;
            }
        }

        /// <summary>
        /// Gets the new x.
        /// </summary>
        public double NewX
        {
            get
            {
                return this.newX;
            }
        }

        /// <summary>
        /// Gets the new y.
        /// </summary>
        public double NewY
        {
            get
            {
                return this.newY;
            }
        }
    }
}
